﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace ALE_Server.EC
{
    [Serializable]
    [DataContract]
    public class ECReportOutputSpec
    {
        private bool m_IncludeEPC;
        private bool m_IncludeTag;
        private bool m_IncludeRawHex;
        private bool m_IncludeRawDecimal;
        private bool m_IncldeCount;

        [DataMember]
        public bool IsIncldeEPC
        {
            get
            {
                return m_IncludeEPC;
            }
            set
            {
                m_IncludeEPC = value;
            }
        }

        [DataMember]
        public bool IsIncludeTag
        {
            get
            {
                return m_IncludeTag;
            }
            set
            {
                m_IncludeTag = value;
            }
        }

        [DataMember]
        public bool IsIncludeRawHex
        {
            get
            {
                return m_IncludeRawHex;
            }
            set
            {
                m_IncludeRawHex = value;
            }
        }

        [DataMember]
        public bool IsIncludeRawDecimal
        {
            get
            {
                return m_IncludeRawDecimal;
            }
            set
            {
                m_IncludeRawDecimal = value;
            }
        }

        [DataMember]
        public bool IsIncludeCount
        {
            get
            {
                return m_IncldeCount;
            }
            set
            {
                m_IncldeCount = value;
            }
        }

        public override string ToString()
        {
            return XmlSerializeHelper.Serialize(this);
        }
    }
}
